package com.easychat.ai;

import lombok.Data;

import java.util.List;

/**
 * 非stream 响应参数
 * "model": "deepseek-r1:1.5b",
 *         "created_at": "2025-05-24T03:32:55.6215083Z",
 *         "response": "<think>\n\n</think>\n\n您好！我是由中国的深度求索（DeepSeek）公司开发的智能助手DeepSeek-R1。如您有任何任何问题，我会尽我所能为您提供帮助。",
 *         "done": true,
 *         "done_reason": "stop",
 *         "context": [
 *         100364,
 *         1773
 *         ],
 *         "total_duration": 7779889500,
 *         "load_duration": 3943656000,
 *         "prompt_eval_count": 6,
 *         "prompt_eval_duration": 844838900,
 *         "eval_count": 40,
 *         "eval_duration": 2944245800
 * @author 05 2025/5/24
 */


@Data
public class OllamaResponse {
     private String model;
     private String created_at;
     private String response;
     private Boolean done;
     private String done_reason;
     private List<Integer> context;
     private Long total_duration;
     private Long load_duration;
     private Long prompt_eval_count;
     private Long prompt_eval_duration;
     private Long eval_count;
     private Long eval_duration;
}
